//main.js
import React from 'react';
import {render} from 'react-dom';
import Navigation from './Navigation';
import Header from './Header';
import Product from './Product'
import Detail from './Detail'
import style from './css/main.css';//使用require导入css文件
render(
    <div>
        <Header />
        <Navigation />
        <Product />
        <Detail />
    </div>,
    document.getElementById('root')
);